package io.github.tangwan.jdk8.base;

/**
 * @author tangwan
 * @version V1.0
 * created on 2021/10/20 14:55
 * @since JDK 1.8
 */
public class FuctionInterfaceTest {

    public static void main(String[] args) {
        FuctionInterface1 fuctionInterface1 = new FuctionInterface1Impl();
        System.out.println(fuctionInterface1.run("tangwan"));
        System.out.println(fuctionInterface1.run1());
        FuctionInterface2 fuctionInterface2 = new FuctionInterface1Impl();
        System.out.println(fuctionInterface2.run2());
    }

}
